package com.ruoyi.inventory.domain.dto;

import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出入库单(头)DTO对象 t_warehouse_transaction
 * 
 * @author ruoyi
 * @date 2025-09-28
 */
public class TWarehouseTransactionDTO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出入库单号(主键) */
    @Excel(name = "出入库单号")
    private String txNo;

    /** 单据类型 */
    @Excel(name = "单据类型")
    private String txType;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String warehouseCode;

    /** 操作人ID */
    @Excel(name = "操作人ID")
    private Long operatorId;

    /** 操作人姓名（关联查询字段） */
    @Excel(name = "操作人姓名")
    private String operatorName;

    /** 关联业务类型 */
    @Excel(name = "关联业务类型")
    private String bizRefType;

    /** 关联业务ID */
    @Excel(name = "关联业务ID")
    private String bizRefId;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 逻辑删除:0未删 1已删 */
    private Integer isDelete;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;

    /** 交易明细列表（关联查询字段） */
    private List<Object> transactionItems;

    public void setTxNo(String txNo) 
    {
        this.txNo = txNo;
    }

    public String getTxNo() 
    {
        return txNo;
    }

    public void setTxType(String txType) 
    {
        this.txType = txType;
    }

    public String getTxType() 
    {
        return txType;
    }

    public void setWarehouseCode(String warehouseCode) 
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode() 
    {
        return warehouseCode;
    }

    public void setOperatorId(Long operatorId) 
    {
        this.operatorId = operatorId;
    }

    public Long getOperatorId() 
    {
        return operatorId;
    }

    public void setOperatorName(String operatorName) 
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName() 
    {
        return operatorName;
    }

    public void setBizRefType(String bizRefType) 
    {
        this.bizRefType = bizRefType;
    }

    public String getBizRefType() 
    {
        return bizRefType;
    }

    public void setBizRefId(String bizRefId) 
    {
        this.bizRefId = bizRefId;
    }

    public String getBizRefId() 
    {
        return bizRefId;
    }

    public void setRemark(String remark) 
    {
        this.remark = remark;
    }

    public String getRemark() 
    {
        return remark;
    }

    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setTransactionItems(List<Object> transactionItems) 
    {
        this.transactionItems = transactionItems;
    }

    public List<Object> getTransactionItems() 
    {
        return transactionItems;
    }
}
